package com.boxfishedu.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by lzx on 16/4/25.
 */
@Data
@Document
public class Student {

    private String username;

    @Id
    private Long id;
}
